//- Author: wang885298.
//- Date   : 2017/9/15.
//- File   : index.
.swiper-container {
  width: 100%;
  height: 100%;
  color: #fff;
  text-align: center;
  position: relative;
  overflow-y: hidden;
  background: #fff url(../images/banner1.jpg) 0 bottom no-repeat;
  background-size: cover;
}

.swiper-slide .title {
  font-style: italic;
  font-size: 42px;
  margin-top: 80px;
  margin-bottom: 0;
  line-height: 45px;
}
.pagination {
  position: absolute;
  z-index: 20;
  left: 10px;
  bottom: 10px;
}
.swiper-pagination-switch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: #222;
  margin-right: 5px;
  opacity: 0.8;
  border: 1px solid #fff;
  cursor: pointer;
}
.swiper-visible-switch {
  background: #aaa;
}
.swiper-active-switch {
  background: #fff;
}
.slide1{
  background: #fff url(../images/banner1.jpg) 0 center no-repeat;
}
.slide2{
  background: #fff url(../images/banner2.jpg) 0 center no-repeat;
}
.slide3{
  background: #fff url(../images/banner3.jpg) 0 center no-repeat;
}
.slide4{
  background: #fff url(../images/banner4.jpg) 0 center no-repeat;
}
.slide5{
  background: #fff url(../images/banner5.jpg) 0 center no-repeat;
}
.bg2{
  background: #fff url(../images/bg2.jpg) 0 center no-repeat;
}
.bg3{
  background: #fff url(../images/bg3.jpg) 0 center no-repeat;
}
.bg4{
  background: #fff url(../images/bg4.jpg) 0 top no-repeat;
}
.bg5{
  background: #fff url(../images/bg5.jpg) 0 center no-repeat;
}
.bg6{
  background: #fff url(../images/bg6.jpg) 0 center no-repeat;
}
.bg7{
  background: #fff url(../images/bg7.jpg) 0 center no-repeat;
}
.bg8{
  background: #fff url(../images/bg8.jpg) 0 center no-repeat;
}
.bg9{
  background: #fff url(../images/bg9.jpg) 0 center no-repeat;
}
.logo{
  position: absolute;
  width: 15%;
  left: 3%;
  top: 6%;
  z-index: 99;
  -webkit-transform:translate3d(0,0,0);
  -moz-transform:translate3d(0,0,0);
  transform:translate3d(0,0,0);
  -webkit-animation:play 1s linear;
  -moz-animation:play 1s linear;
  animation:play 1s linear;
  img{
    width: 100%;
  }
}


/*印象荔波*/
.intro {
  background-color: rgba(0, 23, 17, 0.8);
  padding: 20px;
  bottom: 8%;
  left: 23%;
  position: absolute;
  color: #fff;
  width: 75%;
  font-size: 16px;
  height: 50%;
  .content{
    overflow: auto;
    height: 100%;
    line-height: 25px;
    padding: 0 10px;
    p{
      text-indent: 2em;
      margin-bottom: 10px;
    }
  }
}
/*全景概览*/
.overview{
  width: 80%;
  height: 50%;
  position: absolute;
  bottom: 15%;
  left: 10%;
  &-item{
    float: left;
    width: 30%;
    margin: 0 1.5%;
    height: 100%;
  }
  .f-column{
    border: 3px solid #fff;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    img{
      text-align: center;
    }
  }
  .f-column:hover{
    border: 4px solid rgba(255,255,255,0.6);
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
  }
  .child{
    height: 50%;
    width: 100%;
  }
  .child:first-child{
    padding-bottom: 2.5%;
  }
  .child:last-child{
    padding-top: 2.5%;
  }
  .single{
    border: 3px solid #fff;
    overflow: hidden;
    height: 100%;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    img{
      text-align: center;
    }
  }
  .single:hover{
    border: 4px solid rgba(255,255,255,0.6);
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
  }
  .sub{
    width: 50%;
    //overflow: hidden;
    float: left;
    height: 100%;
    cursor: pointer;
    &-item{
      border: 3px solid #fff;
      overflow: hidden;
      width: 100%;
      height: 100%;
      position: relative;
      transition: all 0.2s;
      img{
        text-align: center;
      }
    }
    &-item:hover{
      border: 4px solid rgba(255,255,255,0.6);
      transform: scale(1.1);
      -webkit-transform: scale(1.1);
      -moz-transform: scale(1.1);
      -o-transform: scale(1.1);
      -ms-transform: scale(1.1);
    }
  }
  .sub:last-child{
    padding-left: 2.5%;
  }
  .sub:first-child{
    padding-right: 2.5%;
  }
  .shadow{
    background-color: rgba(0,0,0,0.5);
    padding: 10px;
    color: #fff;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    font-size: 16px;
    text-align: center;
    transition: all 0.2s;
    height: 40px;
  }
  .shadow-top{
    background-color: rgba(0,0,0,0.5);
    //padding: 10px;
    //color: #fff;
    //-webkit-box-orient: vertical;
    //-webkit-line-clamp: 1;
    //overflow: hidden;
    //text-overflow:ellipsis;
    //white-space: nowrap;
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    font-size: 16px;
    text-align: center;
    transition: all 0.2s;
    height: 0;
  }
  .f-column:hover .shadow, .single:hover .shadow, .sub-item:hover .shadow{
    height: 55%;
  }
  .f-column:hover .shadow-top, .single:hover .shadow-top, .sub-item:hover .shadow-top{
    height: 45%;
  }
}
/*舌尖美食*/
.food{
  width: 80%;
  position: absolute;
  top: 40%;
  left: 10%;
  &-item{
    position: relative;
    width: 12.5%;
    float: left;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.5s;
    img{
      width: 100%;
    }
  }
  &-item:hover{
    //margin-top: -1%;
    opacity: 1;
    transform: scale(1.1);
    z-index: 9999;
  }
}
/*酒店宾馆*/
.hotel{
  width: 80%;
  position: absolute;
  left: 10%;
  top: 40%;
  height: 50%;
  &-left{
    float: left;
    width: 25%;
    padding-right: 3%;
    height: 100%;
    transition: all 0.5s;
  }
  .hotel-item{
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.4);
    height: 100%;
    img{
      text-align: center;
      height: 100%;
    }
  }

  .title{
    text-align: center;
    color: #fff;
    font-size: 16px;
    padding-top: 10px;
  }
  .hotel-item:hover{
    border: 4px solid rgba(255,255,255,0.8);
    cursor: pointer;
  }
  &-right{
    float: left;
    width: 75%;
    height: 100%;
    .right-item{
      width: 20%;
      float: left;
      height: 48%;
      padding-bottom: 2.5%;
      padding-right: 3.5%;
      margin-bottom: 4%;
      transition: all 0.5s;
    }

    .r-content{
      overflow: hidden;
      border: 4px solid rgba(255,255,255,0.4);
      height: 100%;
      img{
        text-align: center;
        height: 100%;
      }
    }
    .r-content:hover{
      border: 4px solid rgba(255,255,255,0.8);
      cursor: pointer;
    }
  }
  .hotel-left:hover, .right-item:hover{
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
  }
}
/*荔波新讯*/
.news{
  position: absolute;
  width: 90%;
  bottom: 8%;
  height: 50%;
  left: 5%;
}
.news-ul{
  height: 100%;
  .li{
    float: left;
    width: 16.6%;
    height: 100%;
    padding-right: 2%;
    cursor: pointer;
    transition: all 0.5s;
    .liBg{
      background: rgba(0, 23, 17, 0.8);
      padding: 10px;
      height: 100%;
    }
    .word{
      height: 60%;
      overflow: hidden;
    }
    h1{
      font-size: 14px;
      color: #fff;
      text-align: center;
    }
    p{
      color: #259c8a;
      font-size: 14px;
      overflow: auto;
      //max-height: 35%;
    }
    .newsImg{
      overflow: hidden;
      height: 40%;
      width: 100%;
    }
    .newsImg img{
      //width: 100%;
      height: 100%;
    }
  }
  .li:hover{
    margin-top: -3%;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
  }
}

/*历史沿革*/
.history{
  position: absolute;
  background-color: rgba(0,23,17,0.8);
  right: 4%;
  bottom:10%;
  max-height: 65%;
  overflow: auto;
  width: 75%;
  padding: 30px 20px 30px 0;
  border: 20px solid rgba(0, 23, 17, 0);
  .history-content{
    height: 100%;
  }
  .history-content .li{
    position: relative;
    width: 33.3%;
    padding-left:3%;
    float: left;
    margin-bottom:3%;
    cursor: pointer;
    .liLeft{
      width: 30%;
      position: absolute;
      img{
        width: 100%;
      }
    }
    .liRight{
      padding-left: 36%;
      .title{
        color: #ffffff;
        font-size:18px;
        overflow:hidden;
        text-overflow:ellipsis;
        display:-webkit-box;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:1;
      }
      .content{
        padding-top: 10px;
        color: #259c8a;
        overflow:hidden;
        text-overflow:ellipsis;
        display:-webkit-box;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:4;
      }
    }
  }
}
/*旅游贴士*/
.tips{
  width: 65% !important;
  position: absolute;
  left: 15% !important;
  top: 40% !important;
  .overview-item{
    width: 35%;
  }
  .f-column{
    width: 20%;
    background-color: rgba(0, 228, 152, 0.8);
    border: none;
    position: relative;
    text-align: center;
    display: table;
  }
  .single{
    border: none;
  }
  .transit{
    background-color: rgba(114,130,208,0.8);
  }
  .sub-item{
    border: none;
  }
  .trval{
    background-color: rgba(135,225,240,0.8);
  }
  .new-tips{
    background-color: rgba(222,103,123,0.8);
  }
  .taxi{
    background-color: rgba(146,203,28,0.8);
  }
  .tbus{
    background-color: rgba(16,145,210,0.8);
  }
  .price{
    background-color: rgba(248,203,36,0.8);
  }
  .table{
    display: table;
    text-align: center;
    height: 100%;
  }
  .common-tips{
    display: table-cell;
    width: 60%;
    vertical-align: middle;
    .wz{
      color: #fff;
      font-size: 24px;
      padding: 5px 10px;
      text-align: center;
    }
  }
}
@media screen and (max-width: 1366px) {
  .common-tips{
    .wz{
      font-size: 16px !important;
    }
  }
  .sub-item{
    .common-tips img{
      width: 50%;
    }
  }
  .history .history-content .li .liRight .content {
    padding-top: 10px;
    color: #259c8a;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}



.wrapper{width:100%;height: 100%;margin:0 auto;position:relative;}
#banner{ width: 100%; height:100%; overflow:hidden; position:relative; }
#banner > .hd {
  overflow: hidden;
  position: absolute;
  right: 6%;
  top: 5%;
  z-index: 1;
  font-family: "Microsoft YaHei";
}
#banner > .hd > ul {
  list-style: none;
  overflow: hidden;
  zoom: 1;
  float: left;
  margin: 0;
  padding: 0;
  color: #fff;
}
#banner > .hd > ul > li {
  float: left;
  margin-left: 45px;
  text-align: center;
  cursor: pointer;
  font-size: 18px;
}
#banner > .hd > ul > li .icon:hover{
  background: rgba(0,0,0,0.9);
  margin-top: 0;
  transition: all 0.3s;
}
#banner > .hd > ul > li.on {
  color: #fff;
}
#banner > .hd > ul > li.on .icon{
  background: rgba(54,50,217,0.9);
  color: #fff;
}
#banner > .bd{ width: 100%; height:100%;  position:relative; z-index:0; }
#banner > .bd > ul{ width: 100%; height:100%; overflow:hidden; zoom:1; float:left;  list-style: none; margin: 0; padding: 0;}
#banner > .bd > ul > li{ width: 100%; height:100%;  zoom:1; vertical-align:middle; }

.icon{
  text-align: center;
  background: rgba(0,0,0,0.68);
  border-radius: 50%;
  padding:6px;
  margin: 5px auto;
  width: 60px;
  height: 60px;
  img{
    width: 45px;
    height: 45px;
  }
}
/*民族风情*/
#bg4 {
  width: 90%;
  height: 55%;
  //padding: 5px;
  position: absolute;
  overflow: hidden;
  zoom: 1;
  bottom: 10%;
  left: 5%;
}

#bg4 .inHd {
  width: 20%;
  height: 100%;
  position: absolute;
  left: 0;
  overflow: hidden;
  background-color: rgba(0,23,17,0.8);
}
#bg4 .inHd ul{
  padding: 28px 15px;
  overflow: hidden;
  height: 100%;
}
#bg4 .inHd ul li {
  width: 50%;
  height: 33%;
  float: left;
  text-align: center;
  padding-top: 10px;
  list-style: none;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
}
#bg4 .inHd ul li p{
  padding-top: 7px;
}

#bg4 .inHd ul li img {
  width: 80%;
  height: 75%;
  border: 4px solid #ddd;
  cursor: pointer;
  vertical-align: bottom;
}

#bg4 .inHd ul li.on {
  //background: url("images/icoleft.gif") no-repeat 0 28px;
  color: #04e4e1;
}

#bg4 .inHd ul li.on img {
  border-color: #f60;
}

#bg4 .inBdbox {
  width: 78%;
  height: 100%;
  position: relative;
  margin-left: 22%;
  background-color: rgba(0,23,17,0.8);
  padding: 2% 1%;
  overflow: hidden;
}

#bg4 .inBd {
  height: 100%;
  position: relative;
  overflow: hidden;
  overflow-y: auto;
  padding: 0 1%;
}

#bg4 .inBd li {
  position: relative;
  zoom: 1;
  vertical-align: middle;
  color: #fff;
}
#bg4 .inBd li p.title{
  text-align: center;
  font-size: 28px;
  margin: 0;
  padding: 0 0 30px 0;
}

#bg4 .inBd li .pic {
  position: relative;
  z-index: 0;
  line-height: 34px;
}

#bg4 .inBd li .pic img {
  vertical-align: bottom;
  float: left;
  margin: 10px 20px 0 0;
  border: 5px solid #fff;
}

#bg4 .inBd li .bg {
  width: 400px;
  height: 30px;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  background: #000;
  filter: alpha(opacity=60);
  opacity: 0.6;
}

/*弹窗*/
.bomb {
  position: fixed;
  background-color: rgba(0,0,0,0.8);
  height: 100%;
  width: 100%;
  z-index: 99;
  display: none;
  .bomb-box{
    position: absolute;
    top:50%;
    left: 50%;
    width: 60%;
    height: 60%;
    margin-left: -30%;
    margin-top: -15%;
    background-color: #11907f;
    padding: 2% 1% 2% 2%;
  }
  .box-content{
    position: relative;
    overflow: auto;
    width: 100%;
    color: #fff;
    height: 100%;
    padding: 0 10px;
    .content{
      margin-top: 20px;
    }
    .content img{
      margin: 0px 20px 15px 0;
      border: 5px solid #58c9b9;
      max-width: 100%;
    }
    .content p{
      text-indent: 2em;
      line-height: 34px;
      margin-bottom: 10px;
    }
    .sPic{
      float: left;
    }
  }
  .box-content h1{
    text-align: center;
    font-size: 24px;
  }
  .close{
    position: absolute;
    top:-10%;
    right: 0;
    cursor: pointer;
  }
  .close:hover{
    -webkit-transform:translate3d(0,0,0);
    -moz-transform:translate3d(0,0,0);
    transform:translate3d(0,0,0);
    /* 设置动画，animation:动画名称 动画播放时长单位秒或微秒 动画播放的速度曲线linear为匀速 动画播放次数infinite为循环播放; */
    -webkit-animation:roll 2s linear infinite;
    -moz-animation:roll 2s linear infinite;
    animation:roll 2s linear infinite;
  }
}

.newBd p{
  margin-bottom: 20px;
}
/*动作*/
@-webkit-keyframes play{
  0%  {
    /*
    水平翻转
    */
    -webkit-transform:rotateY(0deg);
    /*
    垂直翻转
    -webkit-transform:rotateX(0deg);
    顺时针旋转
    -webkit-transform:rotate(0deg);
    逆时针旋转
    -webkit-transform:rotate(0deg);
    */
  }
  100% {
    /* 水平翻转 */
    -webkit-transform:rotateY(360deg);
    /* 垂直翻转
    -webkit-transform:rotateX(360deg);
    顺时针旋转
    -webkit-transform:rotate(360deg);
    逆时针旋转
    -webkit-transform:rotate(-360deg);
    */
  }
}
@-moz-keyframes play{
  0%  {
    -moz-transform:rotateY(0deg);
    /*-moz-transform:rotateX(0deg);
    -moz-transform:rotate(0deg);
    -moz-transform:rotate(0deg);*/
  }
  100% {
    -moz-transform:rotateY(360deg);
    /* -moz-transform:rotateX(360deg);
     -moz-transform:rotate(360deg);
     -moz-transform:rotate(-360deg);*/
  }
}
@keyframes play{
  0%  {
    transform:rotateY(0deg);
    /* transform:rotateX(0deg);
     transform:rotate(0deg);
     transform:rotate(0deg);*/
  }
  100% {
    transform:rotateY(360deg);
    /*transform:rotateX(360deg);
    transform:rotate(360deg);
    transform:rotate(-360deg);*/
  }
}

@-webkit-keyframes roll{
  0%  {
    /*
    水平翻转
    */
    -webkit-transform:rotateY(0deg);
    //-webkit-transform:rotateX(0deg);
    //-webkit-transform:rotate(0deg);
    //-webkit-transform:rotate(0deg);
  }
  100% {
    -webkit-transform:rotateY(360deg);
    //-webkit-transform:rotateX(360deg);
    //-webkit-transform:rotate(360deg);
    //-webkit-transform:rotate(-360deg);
  }
}
@-moz-keyframes roll{
  0%  {
    -moz-transform:rotateY(0deg);
    -moz-transform:rotateX(0deg);
    -moz-transform:rotate(0deg);
    -moz-transform:rotate(0deg);
  }
  100% {
    -moz-transform:rotateY(360deg);
    -moz-transform:rotateX(360deg);
    -moz-transform:rotate(360deg);
    -moz-transform:rotate(-360deg);
  }
}
@keyframes roll{
  0%  {
    transform:rotateY(0deg);
     transform:rotateX(0deg);
     transform:rotate(0deg);
     transform:rotate(0deg);
  }
  100% {
    transform:rotateY(360deg);
    transform:rotateX(360deg);
    transform:rotate(360deg);
    transform:rotate(-360deg);
  }
}